package infostroy.bookagolf.components.table;

import infostroy.bookagolf.model.GolfTableContent;

import javax.swing.*;

/**
 * Created by Andrew on 14.02.14.
 */
public class GolfIconTableCell implements GolfTableContent {
    private Icon icon;
    private String text;

    public GolfIconTableCell(Icon icon, String text) {
        this.icon = icon;
        this.text = text;
    }

    public Icon getIcon() {
        return icon;
    }

    public void setIcon(Icon icon) {
        this.icon = icon;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
